package com.future.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.future.domain.Electricdetails;
import java.util.List;

import com.future.dto.ElectricdetailsDto;
import com.future.dto.Moneys;
import org.apache.ibatis.annotations.Param;

/**
 * @Auther: 田坑坑
 * @Date: 2022/6/20 14:01
 * @Description:  我题序等你回
 */
public interface ElectricdetailsMapper extends BaseMapper<Electricdetails> {



    List<Moneys>  selectMonthMoney(@Param("electricRoomId") int electricRoomId);

    int updateBatch(List<Electricdetails> list);

    int updateBatchSelective(List<Electricdetails> list);

    int batchInsert(@Param("list") List<Electricdetails> list);

    //查询电详情根据宿舍编号查询
    List<ElectricdetailsDto> selectElectricdetails(int roomid);
}